body {
  cursor: url('@/assets/images/cursor/default.png'), auto !important; // move cursor to assets/images/cursor/default.png
}
.pointer,
.btn {
  cursor: url('@/assets/images/cursor/pointer.png'), auto !important; // clickable cursor to assets/images/cursor/pointer.png
}
.user-select,
.text {
  user-select: text;
  cursor: url('@/assets/images/cursor/text.png'), auto !important; // text cursor to assets/images/cursor/text.png
}
.user-select-none {
  user-select: none;
  cursor: url('@/assets/images/cursor/default.png'), auto !important; // text cursor to assets/images/cursor/text.png
}

// 定义（在全局样式中定义）
// @font-face {
//   font-family: DSDIGI;
//   // src: url('http://cdn.snows-l.site/blog/fonts/DSDIGI.TTF');
//   src: url('@/assets/font/fontFamily/DSDIGI.TTF');
// }

:root {
  --theme: 'light';
  --theme-color: #25bbe4;
  --theme-light-color: #25bbe499;
  --theme-light-color-1: #25bbe4e6;
  --theme-light-color-2: #25bbe4cc;
  --theme-light-color-3: #25bbe4b3;
  --theme-light-color-4: #25bbe49f;
  --theme-light-color-5: #25bbe475;
  --theme-light-color-6: #25bbe462;
  --theme-light-color-7: #25bbe453;
  --theme-light-color-8: #25bbe44b;
  --theme-light-color-9: #25bbe434;
  --m-menu-width: 260px;
  --under-background: linear-gradient(
      90deg,
      rgba(247, 149, 51, 0.1),
      rgba(243, 112, 85, 0.1) 15%,
      rgba(239, 78, 123, 0.1) 30%,
      rgba(161, 102, 171, 0.1) 44%,
      rgba(80, 115, 184, 0.1) 58%,
      rgba(16, 152, 173, 0.1) 72%,
      rgba(7, 179, 155, 0.1) 86%,
      rgba(109, 186, 130, 0.1)
    ),
    white;
  --font-family: ''; // 默认字体
  --content-max-width: 920px;
  --content-max-width-m: 95%;
  --empty-text-color: #999999;
  --border-radius-1: 6px;
  --border-radius-2: 10px;
  --border-radius-3: 15px;

  --bg-meun-wrap-color: #bfbebeee; // 菜单背景色
  --text-title-color: #333333;
  --text-color: #222222;
  --text-disabled-color: #8c8c8c;
  --text-color-2: #616060;
  --bg-wrap-color: #ffffffed;
  --bg-disabled-color: #d0cdcde8;
  --bg-wrap-light-color: #433e3e72;
  --bg-wrap-light-color-2: #ffffff90;
  --bg-wrap-light-color-3: #ffffff6e;
  --bg-content-color: #ffffffbb;
  --home-saying-color: #ffffff66;
  --bg-content-color-2: #e7e4e4a9;
  --bg-image-wrap-color: #ffffff2e;
  --bg-modal-color: transparent;
  --bg-modal-wrap-color: #403f3f40;
  --bg-cover-color: #f9f4f48a;
  --border-color: #9b9a9a;
  --bg-menu-flutter-color: #ffffff20;
  --code-light-color: #f38484;
  --code-color: #282727;
  --bg-code-color: #e2dfdf;
  --text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
  --box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  --transform-white: linear-gradient(rgb(244 248 251 / 0.8) 0%, rgb(244 248 251 / 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  --bg-mask-color: rgba(89, 89, 89, 0.1);
  --msg-bg-color: #ffffffee;
  --avatar-border-color: #eeeeee;
  --input-label-bg-color: #ffffff;
  --sub-msg-bg-color: #ececec70;
}

:root.dark {
  --theme: 'dark';
  --bg-meun-wrap-color: #0b0b0b92;
  --text-title-color: #5c5a5a;
  --text-color: #eeeeee;
  --text-disabled-color: #a19f9f;
  --text-color-2: #929292;
  --bg-wrap-color: #333333b3;
  --bg-wrap-light-color: #cbc3c372;
  --bg-wrap-light-color-2: #81818172;
  --bg-wrap-light-color-3: #3a393955;
  --bg-content-color: #2f2f2fd1;
  --home-saying-color: #33333399;
  --bg-disabled-color: #696969;
  --bg-content-color-2: #2f2f2fa9;
  --bg-image-wrap-color: #33333317;
  --bg-modal-color: transparent;
  --bg-modal-wrap-color: #dad3d381;
  --bg-cover-color: #1e1e1e67;
  --border-color: #cbc3c372;
  --bg-menu-flutter-color: #00000020;
  --code-light-color: #4fc1ff;
  --code-color: #d7d2d2;
  --bg-code-color: #222323;
  --text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
  --msg-bg-color: #363636;
  --avatar-border-color: #8b8a8a;
  --input-label-bg-color: #2f2f2f;
  --sub-msg-bg-color: #5d5d5d58;
}

html {
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--text-color);
}

/* 自定义整个滚动条 */
::-webkit-scrollbar {
  // width: 2px; /* 设置滚动条的宽度 */
  // height: 2px;
  width: 0;
  height: 0; /* 隐藏滚动条 */
  background-color: transparent; /* 背景透明 */
}

// el-scrollbar 自定义滚动条
.el-scrollbar {
  .el-scrollbar__bar.is-horizontal {
    height: 2px; // 添加横向高度
  }
  .el-scrollbar__bar.is-vertical {
    width: 2px; // 添加纵向宽度
  }
}

// 一行省略号
.line-1-ellipsis {
  width: 100%;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

// 两行省略号
.line-2-ellipsis {
  width: 100%;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

// 三行省略号
.line-3-ellipsis {
  width: 100%;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
